<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<title th:text="${session.title}">123</title>
	<link th:replace="common/header"/>
	<link rel="stylesheet" th:href="@{/css/ace-skins.min.css}" />
    <link th:replace="common/tip"/>
    <script language="javascript" type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}"></script>
</head>
	<body class="navbar-fixed">
  	<div th:replace="common/top"></div>
		<div class="container-fluid main_bg" id="main-container">
			<a id="menu-toggler" href="#"><span></span></a>
			<div th:replace="common/menu"></div>
			<div id="main-content" class="clearfix">
				<div id="page-content" class="clearfix">
					<div th:replace="common/title"></div>
					<h3 class="header smaller lighter blue"><em class="icon-list"></em>我的挂牌球员列表</h3>
					<form class="form-horizontal" th:object="${footGpSearchForm}" method="post" th:action="@{/hy/footGp/mySearch}"
                          name="form" th:if="${session.footUser.qx.text == '会员' || session.footUser.qx.text == 'VIP1' || session.footUser.qx.text == 'VIP2' || session.footUser.qx.text == 'VIP3'}">
                        <div class="row-fluid">
                            <!--PAGE CONTENT BEGINS HERE-->
                            <div class="span12">
                                <div class="row-fluid">
                                    <button class="btn btn-danger" type="button" onclick="deleteall('/hy/footGp/deleteall');"><em class="icon-remove-circle"></em>删除</button>
                                    <a class="btn" type="button" th:href="@{/index}"><em class="icon-arrow-left"></em>返回首页</a>
                                </div>
                                <table style="width:100%" border="0">
                                    <tbody>
                                        <tr>
                                            <th style="width: 120px;">挂牌球员:</th>
                                            <td style="width: auto;">
                                                <input type="text" name="qdId" class="input_fix" placeholder="挂牌球员"/>
                                            </td>
                                            <th class="hidden-480" style="width: 120px;">挂牌时间:</th>
                                            <td class="hidden-480" style="width: auto;">
                                                <input type="text" name="gpsj" class="input_fix3" placeholder="挂牌时间"/>
                                                <img onclick="WdatePicker({el:'gpsj',dateFmt:'yyyy-MM-dd'})"
                                                    style="width:16px;height:22px"  src="" alt=""
                                                    th:src="@{/js/My97DatePicker/skin/datePicker.gif}">
                                            </td>
                                            <th style="width: 200px;">买卖球员玩家:</th>
                                            <td style="width: auto;">
                                                <input type="text" name="userId" class="input_fix" placeholder="买卖球员玩家"/>
                                            </td>
                                            <td style="width:120px;">
                                                <button class="btn btn-info" style="float: right;" type="button" onclick="pagechange(1);"><em class="icon-search"></em>查询</button>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                                <table id="table_bug_report" class="table table-hover">
                                    <thead>
                                        <tr>
                                            <th class="center" style="width:60px;"><label><a onclick="selectAll(this)">全/不选</a></label></th>
                                            <th>挂牌球员</th>
                                            <th class="hidden-480">球员等级</th>
                                            <th class="hidden-480">挂牌时间</th>
                                            <th class="hidden-480">卖家</th>
                                            <th>一口价</th>
                                            <th class="hidden-480">是否成交</th>
                                            <th class="hidden-480">买家</th>
                                            <th>操作</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr th:each="t:${footGpList}">
                                            <td class="center"><label><input type="checkbox" name="selectIds" th:value="${t.id}"/><span class="lbl">&nbsp;</span></label></td>
                                            <td th:text="${t.yw + '(' + t.qyName + ')'}">123</td>
                                            <td class="hidden-480" th:text="${t.dj}">123</td>
                                            <td class="hidden-480" th:text="${#dates.format(t.gpsj,'yyyy-MM-dd')}">123</td>
                                            <td class="hidden-480" th:text="${t.sellUserName}"></td>
                                            <td th:text="${#numbers.formatDecimal(t.ykj, 0, 0)}">123</td>
                                            <td class="hidden-480" th:text="${t.cj ? '成交' : '未成交'}">123</td>
                                            <td class="hidden-480" th:text="${t.buyUserName}">123</td>
                                            <td><div class="inline position-relative">
                                                <button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown">
                                                    <em class="icon-cog icon-only bigger-110"></em>
                                                </button>
                                                <ul class="dropdown-menu dropdown-icon-only dropdown-light pull-right dropdown-caret dropdown-close">
                                                    <li>
                                                        <a class="tooltip-error" data-rel="tooltip" title="撤销挂牌" data-placement="left"
                                                           th:onclick="'javascript:tipHref(\'确定撤销吗？\',\'/foot/bfinfo/delete?id=\', ' + ${t.id} + ')'">
                                                            <span class="red"><em class="icon-remove"></em></span></a>
                                                    </li>
                                                </ul>
                                                </div>
                                            </td>
                                        </tr>
                                    </tbody>
                                    <tfoot>
                                        <tr>
                                            <td colspan="9">
                                                <div class="row-fluid" th:include="common/page :: page"></div>
                                            </td>
                                        </tr>
                                    </tfoot>
                                </table>
                                <!--/#page-content-->
                            </div>
                            <!--/#page-content-->
                        </div>
					</form>
           		</div>
				<div th:replace="common/skin :: skin"></div>
		</div><!--/#main-content-->
	</div><!--/.fluid-container#main-container-->
	<div th:replace="common/jsList"></div>
	</body>
</html>
